package top.buaarobot.webserver.repository;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import top.buaarobot.webserver.domain.MarkdownFile;

import java.util.List;

@Repository
public interface MarkdownFileRepository extends CrudRepository<MarkdownFile,Integer> {
    List<MarkdownFile> findAllByCatalogAndParentid(String catalog, Integer parentid);
}
